package com.hunan.api.catv.entity.vo;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

public class PlanVo implements Serializable {
    /**
     * id
     */
    private Integer planId;

    /**
     * 套餐名
     */
    private String planName;

    /**
     * 详情
     */
    private String intro;

    /**
     * 价格
     */
    private BigDecimal price;

    /**
     * create_time
     */
    private Date cTime;

    /**
     * 状态 0下架 1上架
     */
    private Integer state;

    /**
     * 1现金购买 2积分购买
     */
    private Integer type;

    /**
     * 原价
     */
    private BigDecimal originalPrice;

    /**
     * 折扣描述
     */
    private String discountDesc;

    private String language;
    /**
     * 积分
     */
    private Integer integral;

    private static final long serialVersionUID = 1L;

    public Integer getPlanId() {
        return planId;
    }

    public void setPlanId(Integer planId) {
        this.planId = planId;
    }

    public String getPlanName() {
        return planName;
    }

    public void setPlanName(String planName) {
        this.planName = planName == null ? null : planName.trim();
    }

    public String getIntro() {
        return intro;
    }

    public void setIntro(String intro) {
        this.intro = intro == null ? null : intro.trim();
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public Date getcTime() {
        return cTime;
    }

    public void setcTime(Date cTime) {
        this.cTime = cTime;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public BigDecimal getOriginalPrice() {
        return originalPrice;
    }

    public void setOriginalPrice(BigDecimal originalPrice) {
        this.originalPrice = originalPrice;
    }

    public String getDiscountDesc() {
        return discountDesc;
    }

    public void setDiscountDesc(String discountDesc) {
        this.discountDesc = discountDesc == null ? null : discountDesc.trim();
    }

    public String getLanguage() {
        return language;
    }

    public void setLanguage(String language) {
        this.language = language == null ? null : language.trim();
    }

    public Integer getIntegral() {
        return integral;
    }

    public void setIntegral(Integer integral) {
        this.integral = integral;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", planId=").append(planId);
        sb.append(", planName=").append(planName);
        sb.append(", intro=").append(intro);
        sb.append(", price=").append(price);
        sb.append(", cTime=").append(cTime);
        sb.append(", state=").append(state);
        sb.append(", type=").append(type);
        sb.append(", originalPrice=").append(originalPrice);
        sb.append(", discountDesc=").append(discountDesc);
        sb.append(", language=").append(language);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}